package org.boot.ssm.wxshop.mapper;

import org.apache.ibatis.annotations.Param;
import org.boot.ssm.wxshop.common.BaseMapper;
import org.boot.ssm.wxshop.domain.CarouselImg;

import java.util.List;

public interface CarouselImgMapper extends BaseMapper<CarouselImg> {

    /*****************************
     * @Description: 显示所有轮播图
     * @Param:
     * @return:
     * @Author: 刘涛
     * @Date: 2018/3/17
     *******************************/
    public List<CarouselImg> selectCarouselAndGoods();

    /*****************************
     * @Description: 根据ID查询轮播图
     * @Param:
     * @return:
     * @Author: 刘涛
     * @Date: 2018/3/17
     *******************************/
    public CarouselImg selectCarouselAndGoodsById(@Param("id") Integer id);
}